package com.ruoyi.fapp.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.Excel.ColumnType;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.domain.entity.SysUser;

import java.util.Date;

 /**
 *  会话列表
 * 
 * @author ruoyi
 */
public class AppChatMsg extends BaseEntity
{
    private static final long serialVersionUID = 1L;

     /** ID */
    private Integer id;

    /** 会话id */
    private String conversationId;

    /** 用户id */
    private Integer userId;
    /** 发送者id */
    private Integer senderId;
    /** 接收者id */
    private Integer receiverId;



    private SysUser sender;
    private AppMessage messInfo;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getConversationId() {
        return conversationId;
    }

    public void setConversationId(String conversationId) {
        this.conversationId = conversationId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getSenderId() {
        return senderId;
    }

    public void setSenderId(Integer senderId) {
        this.senderId = senderId;
    }

    public Integer getReceiverId() {
        return receiverId;
    }

    public void setReceiverId(Integer receiverId) {
        this.receiverId = receiverId;
    }

    public SysUser getSender() {
        return sender;
    }

    public void setSender(SysUser sender) {
        this.sender = sender;
    }

    public AppMessage getMessInfo() {
        return messInfo;
    }

    public void setMessInfo(AppMessage messInfo) {
        this.messInfo = messInfo;
    }
}
